Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix bad performance of resolve queueable entity #21583

Conversation

stephenjtong
Copy link

Illuminate Str startsWith function uses mb_strpos which has a very bad performance when the haystack is huge. When the size of haystack is larger than 100M it will take more than 5 mins. There no need use mb_strpos, I change it to strpos can improve performance significantly.

@Dylan-DPC-zz
Copy link

5.2 😱 is no longer supported. You can send a PR to either 5.5 or master

@stephenjtong
Copy link
Author

5.5 is not implemented in this way. I'm closing this request 😞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants